home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
EDUCATE
/
MERCURYZ.ARJ
/
CARDIOID.EKA
< prev
next >
Wrap
Text File
|
1992-03-24
|
257b
|
11 lines
; Graph of cardioid, a heart-shaped curve.
; Example of parametric plot
r(t) := 2 (COS(t) + 1) ; equation in polar coords
x(t) := r(t) COS(t) ; polar to rectangular conversion
y(t) := r(t) SIN(t)
PLOT y
XAXIS x
GBOUNDS 0, 2 PI